$--step-primary-color: rgb(69, 150, 195);

.demo-block.demo-pipeline {
::-webkit-scrollbar {
  width: 12px;
  height: 6px;
  background-color: rgba(0,0,0,0);
}

::-webkit-scrollbar-track {
  background-color: #f8f9fa
}

::-webkit-scrollbar-thumb {
  background-color: #e2e5ea;
  border-radius: 6px
}

.scrollbarHide::-webkit-scrollbar {
  display: none
}

.scrollbarShow::-webkit-scrollbar {
  display: block
}
.el-pipeline{
  height: 60px;
  margin-bottom: 20px;
  background-color: rgba(111, 118, 246, 0.11);
  position: relative;
  border-radius: 4px;
  border: 1px solid #E2E5EA;
  .step-button{
    position: absolute;
    width: 30px;
    height: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
    background: #e4e7ed;
    border-radius: 4px;
    font-size: 16px;
    line-height: 60px;
    text-align: center;
    color: #6F7584;
    cursor: pointer;
    z-index: 9;
    top: 0px;
    display: flex;
    &.left{
      left: 0px;
    }
    &.right{
      right: 0px;
    }
  }
  .step-wrap{
    padding-left: 10px;
    padding-right: 38px;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    &::-webkit-scrollbar
    {
      //display: none;
    }
    .step-list{
      width: 100%;
      // background: rgba(111, 118, 246, 0.11);
      flex: 1;
      margin: 0px 20px;
      height: 60px;
      white-space: nowrap;
      align-items: center;
      border-radius: 4px;
      padding: 9px 10px;
      .step-cart{
        width: 240px;
        background-color: rgb(241, 246, 242);
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        padding-left: 32px;
        padding-right: 3px;
        margin-right: 3px;
        cursor: pointer;
        font-size: 14px;
        color: #494E5A;
        .task-count{
          background: rgb(252, 202, 0);
          color: #f7f7f9;
          line-height: 20px;
          border-radius: 10px;
          font-size: 12px;
          font-weight: 600;
          width: 35px;
          text-align: center;
        }
        &:after,&:before{
          border: 20px solid transparent;
          border-left: 20px solid rgb(241, 246, 242);
          width: 0;
          height: 0;
          position: absolute;
          top: 0;
          right: -39px;
          content: ' ';
          z-index: 8;
        }
        &:before{
          border-left-color: rgba(111, 118, 246, 0.11);
          right: -42px;
        }
        &:last-child{
          &:after,&:before{
            border: none;
          }
          border-radius: 0px 4px 4px 0px;
          padding-right: 20px;
          margin-right: 44px;
        }
        &:first-child{
          border-radius: 4px 0px 0px 4px;
        }
        &:hover,&.active{
          background-color: $--step-primary-color;
          color: #ffffff;
          &:after{
            border-left-color: $--step-primary-color;
          }
          .task-count{
            background: rgb(252, 202, 0);
            color: #f7f7f9;
          }
        }

        &.step-disabled,&.step-disabled:hover{
          background-color: #ffffff;
          color: #DCDDE0;
          cursor: not-allowed;
          &:after{
            border-left-color: #ffffff;
          }
          .task-count{
            background: rgb(252, 202, 0);
            color: #f7f7f9;
          }
        }
      }
    }
  }

}
}